package cn.echo.modules.sys.entity;

import cn.echo.common.baseentity.BaseEntity;


import java.io.Serializable;

/**
 * Created by 原 on 2017/4/13.
 */
public class Category extends BaseEntity implements Serializable {

    public String name;
    public String parentId;
    public String englishName;
    public int weight;

    public Category(String id) {
       super(id);
    }

    public Category() {

    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public int getWeight() {
        return weight;
    }

    public void setWeight(int weight) {
        this.weight = weight;
    }


    @Override
    public String toString() {
        return "Category{" +
                super.getId()+
                "name='" + name + '\'' +
                ", parentId='" + parentId + '\'' +
                ", englishName='" + englishName + '\'' +
                ", weight=" + weight +
                '}'+super.getCreateBy()+super.getCreateDate()+super.getUpdateBy()+super.getUpdateDate()+super.getDelFlag();


    }




}
